//
//  MCReceivedRecordListModel.h
//  XDYL
//
//  Created by MC on 2018/3/28.
//  Copyright © 2018年 TLYL01. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MCHongBaoRecordProperty.h"

/*
 /api/v1/redenvelopes/receivedrecord
 获取用户收到红包的记录信息
 */

@interface MCReceivedRecordListModel : NSObject

@property(nonatomic,strong) void(^callBackSuccessBlock)(id manager);
@property(nonatomic,strong) void(^callBackFailedBlock)(id manager,NSString *errorCode);
- (void)refreashDataAndShow;

- (instancetype)initWithDic:(NSDictionary *)dic;

@end

@interface MCReceivedRecordsModel : NSObject
@property(nonatomic,strong) MCPagingModel *Paging;
@property(nonatomic,strong) NSArray <MCRecordsModel*>* Records;

@end


//{
//    "ReceivedRecords": {
//        "Paging": {
//            "PageIndex": 0,
//            "Total": 0,
//            "PageSize": 0,
//            "HasNextPage": true
//        },
//        "Records": [
//                    {
//                        "Sysid": "string",
//                        "UserName": "string",
//                        "Mode": 0,
//                        "Amount": 0,
//                        "OpenTime": "2018-03-28T06:12:16.522Z"
//                    }
//                    ]
//    }
//}


//        {
//            ReceivedRecords =     {
//                Paging =         {
//                    HasNextPage = 0;
//                    PageIndex = 1;
//                    PageSize = 15;
//                    Total = 0;
//                };
//                Records =         (
//                );
//            };
//        }
